package com.theorydance.springsourcestudy.autowired.conf;

import lombok.Setter;
import org.springframework.context.EnvironmentAware;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

@Component
@Setter
public class TmpPlus3 implements EnvironmentAware {

    private Environment environment;

    public void say(){
        System.out.println(environment);
    }
}
